package com.bawei.lib_base.utils.utils.mvi

import com.bawei.lib_base.utils.utils.request.RequestType

sealed class UiState {
    data class onSuccess<T>(val data:T,val type: RequestType=RequestType.SPACE) : UiState()

    data class onError(val msg:String) : UiState()

    data object onLoading : UiState()
}